<div class="post-title">
    <h2 class="align-center"><?= $this->title; ?></h2>
    <div>
        <form action='' method="post">
            <select name="direction">
                <option value="1">text=>base64</option>
                <option value="2">base64=>text</option>
            </select><br>
            <label for="base64">Text:</label><br>
            <textarea id="base64" name="base64" cols="60" rows="10"><?= $this->base64; ?></textarea><br>
            <label for="base64Hash">Base64 encoded text:</label><br>
            <textarea id="base64Hash" name="base64Hash" cols="60" rows="10"><?= $this->base64Hash; ?></textarea><br>
            <input type="submit" value="sent">
        </form> 
    </div>
</div>